Skip to content

查询最大分账比例

可调用此接口查询品牌商户设置的允许服务商分账的最大比例

请求参数类型描述
brand_mchidstring品牌主商户号
php
$instance->v3->brand->profitsharing->brandConfigs->_brand_mchid_->getAsync([
  'brand_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/brand/profitsharing/brand-configs/{brand_mchid}')->getAsync([
  'brand_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/brand/profitsharing/brand-configs/{brand_mchid}']->getAsync([
  'brand_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->brand->profitsharing->brandConfigs->_brand_mchid_->get([
  'brand_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/brand/profitsharing/brand-configs/{brand_mchid}')->get([
  'brand_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/brand/profitsharing/brand-configs/{brand_mchid}']->get([
  'brand_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
brand_mchidstring品牌主商户号
max_ratiointeger最大分账比例

参阅 官方文档

Published on the GitHub by TheNorthMemory